package code;

public class Animal {
    private  String name;
    private double height;
    private  String color;
    public Animal(String  name){
    	this.name=name;
    };
    public Animal(String name, double height, String color){
    	this.name=name;
    	this.height=height;
    	this.color=color;
    }
    public void voice(){};
    public String getName(){
    	return this.name;
    }
    public double getHeight(){
    	return this.height;
    }
    public String getColor(){
    	return this.color;
    }
    public void hunter(){System.out.println(this.name+" kill some animal");}
	
	public static void main(String[] args) {
		
	
	}

}
